<template>
  <div>
      <ul>
        <li>{{item.folder || item.file}}</li>
        <div v-if="item.children">
          <myUl v-for="(items, index) in item.children" :key="index" :item = "items"/>
        </div>
      </ul>
  </div>
</template>

<script>

export default {
    name: 'myUl',
    props: ['item']
}
</script>

<style>

</style>